package com.morgan.storageperlib.entity;

/**
 * @description 描    述：音频item
 * @author 作    者：caowugao
 */

public class AudioItem extends MediaItem {

    private String year;//年份

    private long duration;//播放时长

    private String artist;//艺术家

    private String album;//专辑

    /**
     * @param path
     * @param name
     */
    public AudioItem(String path, String name) {
        super(path, name);
    }

    /**
     * @return Returns the year.
     */
    public String getYear() {
        return year;
    }

    /**
     * @param year The year to set.
     */
    public void setYear(String year) {
        this.year = year;
    }

    /**
     * @return Returns the duration.
     */
    public long getDuration() {
        return duration;
    }

    /**
     * @param duration The duration to set.
     */
    public void setDuration(long duration) {
        this.duration = duration;
    }

    /**
     * @return Returns the artist.
     */
    public String getArtist() {
        return artist;
    }

    /**
     * @param artist The artist to set.
     */
    public void setArtist(String artist) {
        this.artist = artist;
    }

    /**
     * @return Returns the album.
     */
    public String getAlbum() {
        return album;
    }

    /**
     * @param album The album to set.
     */
    public void setAlbum(String album) {
        this.album = album;
    }

}
